package com.itheima.store.dao;

import com.itheima.store.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface UserDao {
    int register(User user);

    User login(User user);
}
